package com.potato369.cryptEureka.repository;

import com.potato369.cryptEureka.domain.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AdminRepository extends JpaRepository<Admin, Long> {

    List<Admin> findByUsername(String username);
}
